package com.fiveGroup.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.fiveGroup.mapper.MessageVoMapper;
import com.fiveGroup.pojo.vo.MessageVo;
import com.fiveGroup.service.MessageVoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class MessageVoServiceImpl extends ServiceImpl<MessageVoMapper, MessageVo>
        implements MessageVoService {

    @Autowired
    private MessageVoMapper messageVoMapper;

    @Override
    public IPage<MessageVo> getMessageListPage(IPage<?> page, Long senderId, Long receiverId, String msgType) {
        return messageVoMapper.getMessageListPage(page, senderId, receiverId, msgType);
    }
}
